import base from '@/api/baseurl';
import request from '@/utils/request'



export function findJoinin(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Analysis/findJoinin',
    method: 'get',
    params: query
  })
}




export function addJoinin(data) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Analysis/addJoinin',
    method: 'post',
    data
  })
}


export function updateJoinin(data) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Analysis/updateJoinin',
    method: 'post',
    data
  })
}

//单行删除
export function deleteJoinin(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Analysis/deleteJoinin',
    method: 'get',
    params: query
  })
}

//fetchprmType
export function fetchprmType(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/Analysis/findprmtype',
    method: 'get',
    params: query
  })
}


